package cn.xiqi.cms.hibernate.service;

import java.util.Date;
import java.util.List;

import cn.xiqi.cms.hibernate.DAO.LogDAO;
import cn.xiqi.cms.hibernate.beans.Loginfo;

public interface LogService {
	public List<Loginfo> getAll();
	public List<Loginfo> getByID(int id);
	public int add(Loginfo record);
	public List<Loginfo> getByTime(Date start, Date end);
	public List<Loginfo> getByType(int type);
	public List<Loginfo> getByUsr(int userid);
	public boolean delete(Loginfo record);
	public void setDao(LogDAO dao);
}
